
CURR_PATH = $(shell pwd)
SUBDIRS := $(CURR_PATH)/middleware/json
SUBDIRS += $(CURR_PATH)/middleware/utils


all: libs
	$(AT)echo "build done"

libs:
	$(AT)echo "SUBDIRS: $(SUBDIRS)"
	$(AT)echo "building dna libs..."
	$(AT)for dir in $(SUBDIRS); \
	do \
		make -C $$dir;	\
	done
	$(AT)echo "build dna libs done"

.PHONY: clean
clean:
	$(AT)for dir in $(SUBDIRS); \
	do \
		make clean -C $$dir;	\
	done
